#include "SnippetsForAssignment.hpp"

int main(int argc, const char **argv)
{
    std::ofstream _tmpos("tmpos.dat", std::ios::binary);
    std::ostream tmpos(_tmpos.rdbuf());
    tmpos.flush();
    if (argc < 2)
    {
        std::cout << "Please specify the input file. " << std::endl;
        return 0;
    }
    for (int i = 1; i <= (argc - 1); i++)
    {
        std::string name = argv[i];
        JsonTranslator("../example/" + name);
    }
    return 0;
}